package com.pb.infra.oth.entity.common;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.pb.infra.oth.entity.TreeVO;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 字典共用类
 */
@Data
@ColumnWidth(20)
public class DictVO extends TreeVO implements Serializable {

    private static final long serialVersionUID = 810746166091789719L;

    @ExcelProperty(index = 1,value = {"编码"})
    private String value;

    @ExcelProperty(index = 0,value = {"名称"})
    private String label;

    @ExcelIgnore
    private String dictLabel;

    @ExcelIgnore
    private String tableName;

    @ExcelIgnore
    private String corpId;

    @ExcelIgnore
    private String title;

    @ExcelIgnore
    private String code;

    @ExcelIgnore
    private String isLeaf;
}
